package com.uum.admin.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.uum.admin.pojo.query.OperationPageQuery;
import com.uum.common.core.entity.SysOperationLog;

import java.util.List;
import java.util.Map;

public interface SysOperationLogService extends IService<SysOperationLog> {

    IPage page(OperationPageQuery query);


    /**
     * 统计最近七天内的访问量(PV)
     * @param startTime
     * @param endTime
     * @return
     */
    List<Map<String, Object>> getPVByWeek(String startTime,String endTime);
}
